package com.qqtech.qquan.user.model;


import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.qqtech.core.frame.model.BaseDomain;

@SuppressWarnings("serial")
public class UserPrivacy extends BaseDomain{

	//columns START
    /** 需要设置隐私的用户Id */
	private java.lang.Integer userId;
    /** 类型UserPrivacyTypeEnum:1-社区不被邻里发现 */
	private Integer type;
	//columns END
	public UserPrivacy(){
	}

	public UserPrivacy( java.lang.Integer id ){
		this.id = id;
	}

	public void setUserId(java.lang.Integer userId) {
		this.userId = userId;
	}

	public java.lang.Integer getUserId() {
		return this.userId;
	}
	
	public void setType(Integer type) {
		this.type = type;
	}

	public Integer getType() {
		return this.type;
	}
	

	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this,
				ToStringStyle.MULTI_LINE_STYLE);
	}
}

